How can I do this ForEach using lambda

welcome to shbcf.ru